package yxy.cherry.gateway;

import yxy.apple.logger.Logger;
import yxy.banana.launcher.Launcher;
import yxy.banana.launcher.Reactable;

public class Gateway extends Launcher<Configuration> {
	static {
		ApplicationName = "Gateway";
		ReleaseVersion = "1.0.0";
		ReleaseDate = "20200710";
		Slogan = " -= " + ApplicationName + " V" + ReleaseVersion + " Release " + ReleaseDate + " =-";
		logger = Logger.create(Launcher.class);
	}

	// TODO 热调整client通道数
	// TODO 热调整日志输出等级
	// TODO 与普罗米修斯对接进行链路状态和流量的监控，接收报警事件
	// TODO 对网关进行流控和流量整形

	@Override
	protected Reactable<Configuration> reactor() {
		return Reactor.instance;
	}

	public static void main(String[] args) {
		new Gateway().start(Configuration.class);
	}

}
